package com.cloud.manager.web.controller;

import com.cloud.manager.core.result.Result;
import com.cloud.manager.core.result.ResultCreator;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 描述：
 *
 * @author FineEx   2021/11/18
 * @version 1.0
 */
@RestController
public class TestController {
    @ApiOperation(value = "测试接口")
    @GetMapping("/test")
    public Result<String> test() {
        return ResultCreator
                .success("123456");
    }
}
